'use strict'


import request from '@/utils/request'


export function getPageData(parameter) {
    return request({
      url: '/ConstructSafeProject/GetPageData',
      method: 'get',
      params: parameter
    })
  }

  export function getDetail(parameter) {
    return request({
      url: '/ConstructSafeProject/GetDetail',
      method: 'get',
      params: parameter
    })
  }

  export function deleteData(parameter) {
    return request({
      url: '/ConstructSafeProject/Delete',
      method: 'get',
      params: parameter
    })
  }


  export function save(data) {
    return request({
      url: '/ConstructSafeProject/Save',
      method: 'post',
      data
    })
  }


  export function getConstructSafeProjectUser(parameter) {
    return request({
      url: '/ConstructSafeProject/GetConstructSafeProjectUser',
      method: 'get',
      params: parameter
    })
  }
  
  export function entranceIn(parameter) {
    return request({
      url: '/ConstructSafeProject/EntranceIn',
      method: 'get',
      params: parameter
    })
  }


  export function entranceOut(parameter) {
    return request({
      url: '/ConstructSafeProject/EntranceOut',
      method: 'get',
      params: parameter
    })
  }


